<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="ICurveCollection,com.janisRadins.asDraw.ICurveCollection,curveCount,curveIndex,hasNext,hasPrev,changeCurveIndex,contains,getCurveAt,getCurveData,getNext,getPrev,removeCurve,removeCurveAt,resetToEnd,resetToStart,setCurveAt" name="keywords">
<title>com.janisRadins.asDraw.ICurveCollection</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'ICurveCollection - API Documentation';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">API Documentation</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/janisRadins/asDraw/ICurveCollection.html&amp;com/janisRadins/asDraw/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Interface&nbsp;ICurveCollection</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Interface ICurveCollection"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.janisRadins.asDraw</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Interface</td><td class="classSignature">public interface ICurveCollection</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Implementors</td><td><a href="../asDraw/Path.html">Path</a></td>
</tr>
</table>
<p></p>
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#curveCount">curveCount</a> : uint<div class="summaryTableDescription">[read-only]
   Number of curves in ICurveCollection instance
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#curveIndex">curveIndex</a> : uint<div class="summaryTableDescription">[read-only]
   Current index of iterator
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hasNext">hasNext</a> : Boolean<div class="summaryTableDescription">[read-only]
   Method that returns flag whether theres more curves to fetch beyond <code>curveIndex</code>
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#hasPrev">hasPrev</a> : Boolean<div class="summaryTableDescription">[read-only]
   Method that returns flag whether theres more curves to fetch before <code>curveIndex</code>
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#changeCurveIndex()">changeCurveIndex</a>(oldIndex:int, newIndex:int):void</div>
<div class="summaryTableDescription">
   Method that change Curve position in collection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#contains()">contains</a>(curve:<a href="Curve.html">Curve</a>):Boolean</div>
<div class="summaryTableDescription">
   Method that returns flag on wether Curve is contained by collection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getCurveAt()">getCurveAt</a>(index:int):<a href="../asDraw/ICurve.html">ICurve</a>
</div>
<div class="summaryTableDescription">
   Method which returns curve instance at some index
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getCurveData()">getCurveData</a>(curve:<a href="ICurve.html">ICurve</a>):<a href="vo/CurveData.html">CurveData</a>
</div>
<div class="summaryTableDescription">
   Method that returns data about ICurve position inside ICurveCollection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getNext()">getNext</a>():<a href="../asDraw/ICurve.html">ICurve</a>
</div>
<div class="summaryTableDescription">
   Method that returns next ICurve instance
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getPrev()">getPrev</a>():<a href="../asDraw/ICurve.html">ICurve</a>
</div>
<div class="summaryTableDescription">
   Method that returns previouse ICurve instance
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeCurve()">removeCurve</a>(curve:<a href="Curve.html">Curve</a>):<a href="../asDraw/ICurve.html">ICurve</a>
</div>
<div class="summaryTableDescription">
   Method that removes all specific Curve instances from collection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#removeCurveAt()">removeCurveAt</a>(index:int):<a href="../asDraw/ICurve.html">ICurve</a>
</div>
<div class="summaryTableDescription">
   Method that removes Curve from collection by index
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#resetToEnd()">resetToEnd</a>():void</div>
<div class="summaryTableDescription">
   Method that sets curveIndex to end of curve collection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#resetToStart()">resetToStart</a>():void</div>
<div class="summaryTableDescription">
   Method that resets curveIndex to begining of curve collection
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setCurveAt()">setCurveAt</a>(curve:<a href="Curve.html">Curve</a>, index:int):void</div>
<div class="summaryTableDescription">
   Method that adds Curve to collection at specific index
   </div>
</td><td class="summaryTableOwnerCol">ICurveCollection</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="curveCount"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">curveCount</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>curveCount:uint</code>&nbsp;&nbsp;[read-only]<p>
   Number of curves in ICurveCollection instance
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get curveCount():uint</code>
<br>
</div>
<a name="curveIndex"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">curveIndex</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>curveIndex:uint</code>&nbsp;&nbsp;[read-only]<p>
   Current index of iterator
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get curveIndex():uint</code>
<br>
</div>
<a name="hasNext"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasNext</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>hasNext:Boolean</code>&nbsp;&nbsp;[read-only]<p>
   Method that returns flag whether theres more curves to fetch beyond <code>curveIndex</code>
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get hasNext():Boolean</code>
<br>
</div>
<a name="hasPrev"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">hasPrev</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>hasPrev:Boolean</code>&nbsp;&nbsp;[read-only]<p>
   Method that returns flag whether theres more curves to fetch before <code>curveIndex</code>
   </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get hasPrev():Boolean</code>
<br>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="changeCurveIndex()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">changeCurveIndex</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function changeCurveIndex(oldIndex:int, newIndex:int):void</code><p>
   Method that change Curve position in collection
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">oldIndex</span>:int</code> &mdash; Curve instance which exists in collection
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">newIndex</span>:int</code> &mdash; Index of curve which should be moved
   </td>
</tr>
</table>
</div>
<a name="contains()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">contains</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function contains(curve:<a href="Curve.html">Curve</a>):Boolean</code><p>
   Method that returns flag on wether Curve is contained by collection
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">curve</span>:<a href="Curve.html">Curve</a></code> &mdash; Curve that should be checked
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; Boolean flag, true if Curve is inside collection or false if not
   </td>
</tr>
</table>
</div>
<a name="getCurveAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getCurveAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getCurveAt(index:int):<a href="../asDraw/ICurve.html">ICurve</a></code><p>
   Method which returns curve instance at some index
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../asDraw/ICurve.html">ICurve</a></code> &mdash; 
                         ICurve
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getCurveData()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getCurveData</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getCurveData(curve:<a href="ICurve.html">ICurve</a>):<a href="vo/CurveData.html">CurveData</a></code><p>
   Method that returns data about ICurve position inside ICurveCollection
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">curve</span>:<a href="ICurve.html">ICurve</a></code></td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="vo/CurveData.html">CurveData</a></code> &mdash; 
                        CurveData
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getNext()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getNext</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getNext():<a href="../asDraw/ICurve.html">ICurve</a></code><p>
   Method that returns next ICurve instance
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../asDraw/ICurve.html">ICurve</a></code> &mdash; 
                        ICurve
   
                        
                     </td>
</tr>
</table>
</div>
<a name="getPrev()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getPrev</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getPrev():<a href="../asDraw/ICurve.html">ICurve</a></code><p>
   Method that returns previouse ICurve instance
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../asDraw/ICurve.html">ICurve</a></code> &mdash; 
                        ICurve
   
                        
                     </td>
</tr>
</table>
</div>
<a name="removeCurve()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeCurve</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeCurve(curve:<a href="Curve.html">Curve</a>):<a href="../asDraw/ICurve.html">ICurve</a></code><p>
   Method that removes all specific Curve instances from collection
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">curve</span>:<a href="Curve.html">Curve</a></code> &mdash; Reference to Curve instance in collection that should be removed
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../asDraw/ICurve.html">ICurve</a></code> &mdash; 
                        Curve that has been removed
   
                        
                     </td>
</tr>
</table>
</div>
<a name="removeCurveAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">removeCurveAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function removeCurveAt(index:int):<a href="../asDraw/ICurve.html">ICurve</a></code><p>
   Method that removes Curve from collection by index
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; Value in range -curveCount to curveCount which specify at which index Curve should be added
   </td>
</tr>
</table>
<p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code><a href="../asDraw/ICurve.html">ICurve</a></code> &mdash; 
                        Curve that has been removed
   
                        
                     </td>
</tr>
</table>
</div>
<a name="resetToEnd()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">resetToEnd</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function resetToEnd():void</code><p>
   Method that sets curveIndex to end of curve collection
   </p></div>
<a name="resetToStart()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">resetToStart</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function resetToStart():void</code><p>
   Method that resets curveIndex to begining of curve collection
   </p></div>
<a name="setCurveAt()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setCurveAt</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setCurveAt(curve:<a href="Curve.html">Curve</a>, index:int):void</code><p>
   Method that adds Curve to collection at specific index
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">curve</span>:<a href="Curve.html">Curve</a></code> &mdash; Curve instance to be added
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">index</span>:int</code> &mdash; Value in range -curveCount to curveCount which specify at which index Curve should be added
   </td>
</tr>
</table>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
